﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.ZBDLRY
{
    /// <summary>
    /// 
    /// </summary>
    [Table("tb_Emp_Manager")]
    public class tb_Emp_Manager_Zbdl
    {
        [Key]
        public Guid EmpGuid { get; set; }
        public Guid CorpGuid { get; set; }
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public Int32? ClassId { get; set; }
        public Int32? CorpClassID { get; set; }
        public String TypeFlag { get; set; }
        public String Name { get; set; }
        public Byte? Sex { get; set; }
        public String IDCard { get; set; }
        public String Tel { get; set; }
        public Int16? SpecialityID { get; set; }
        public String Duty { get; set; }
        public String DutyLevel { get; set; }
        public String Education { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? StartTime { get; set; }
        public String InsuranceNum { get; set; }
        public String Remark { get; set; }
        public Int32? IsLeave { get; set; }
        public String FlowCode { get; set; }
        public Guid? AuthorGuid { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? CreatDate { get; set; }
        public Boolean? IsDel { get; set; }
        public String DoMajor { get; set; }
        public Int32? YaZhengCount { get; set; }
        public Int32? BithdayYear { get; set; }
        public Int32? BithdayMonth { get; set; }
        public String ZhiWu { get; set; }
        public String AreaCode { get; set; }
        public String CorpID { get; set; }
        public Int32? oldid { get; set; }
        /// <summary>
        /// 是否为资格审报中所包含人员(1：是）
        /// </summary>
        public Byte? isShenBao { get; set; }
        /// <summary>
        /// 冻结标记isFreeze（1是，0否，默认为0）
        /// </summary>
        public Byte? isFreeze { get; set; }
        /// <summary>
        /// 是否为专职人员（1是，0否，默认为1）
        /// </summary>
        public Byte? isZZEmp { get; set; }
        public String IDType { get; set; }
        public String MobileTel { get; set; }
        public String EMail { get; set; }
        public Int32? domajorint { get; set; }
        public Int32? dogisZero { get; set; }
        public String EmployeeType { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? Birthday { get; set; }
        public Int32? tb_Emp_IsOuter { get; set; }
        public String FlowCode_zjzx { get; set; }
        public String GraduatedSchool { get; set; }
        public String zgzcCode { get; set; }
        public String PhotoFile { get; set; }
        public Byte IfHaveCA { get; set; }
        public Int32? DogID { get; set; }
        public Int32? empdogid { get; set; }
        public String pwd { get; set; }
        /// <summary>
        /// zengkui 2012-12-9  为ic卡管理而增加
        /// </summary>
        public String ICCard { get; set; }
        /// <summary>
        /// zengkui 2012-12-9  为ic卡管理而增加
        /// </summary>
        public Int32? RightCode { get; set; }
        public Double? KHScore { get; set; }
        public String DBType { get; set; }
        public String BankAccName { get; set; }
        public String BankAccNo { get; set; }

        /// <summary>
        /// 专家证号
        /// </summary>		
        public string ExpertCardID { get; set; }
        /// <summary>
        /// 专家是否健康
        /// </summary>		
        public Byte? IsHealth { get; set; }
        /// <summary>
        /// 专家是否操作计算机
        /// </summary>		
        public Byte? IsComputer { get; set; }
        /// <summary>
        /// isSeniorExpert
        /// </summary>		
        public bool? IsSeniorExpert { get; set; }
        /// <summary>
        /// ExpertCardBeginDate
        /// </summary>		
        public DateTime? ExpertCardBeginDate { get; set; }
        /// <summary>
        /// ExpertCardEndDate
        /// </summary>		
        public DateTime? ExpertCardEndDate { get; set; }
        /// <summary>
        /// SeniorExpertCardDate
        /// </summary>		
        public DateTime? SeniorExpertCardDate { get; set; }
        public int? GroupID { get; set; }
        /// <summary>
        /// 对应于tb_Corp_CompanyInfo中的CorpName 给对面的人用的
        /// </summary>
        public string CorpName { set; get; }
    }
}
